home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 July / Disc 1 / PCU0703CD1.iso / software / online / files / imacros.exe / DEMO-FILEUPLOAD.IIM < prev    next >
Encoding:
Text File  |  2003-01-15  |  861 b   |  16 lines

  1. VERSION BUILD=3351223     
  2. URL GOTO=http://www.iopus.com/iim/demo/     
  3. SIZE X=682 Y=512    
  4. TAG POS=1 TYPE=A ATTR=HREF:http://www.iopus.com/iim/demo/file-upload.htm  
  5. 'Disable the pointer because it interferes with sending keystrokes 
  6. SET !POINTER NO
  7. 'Set focus with first click
  8. WINCLICK X=180 Y=301 CONTENT=   
  9. 'Now send keystrokes
  10. WINCLICK X=180 Y=301 CONTENT=c:\yourfile.txt
  11. SET !POINTER YES
  12. TAG POS=1 TYPE=TEXTAREA FORM=ACTION:file-upload.htm ATTR=NAME:S1 CONTENT=Done!<SP>The<SP>file<SP>name<SP>is<SP>in<SP>the<SP>upload<SP>box<SP>and<SP>we<SP>could<SP>now<SP>click<SP>on<SP>the<SP>SUBMIT<SP>button<SP>and/or<SP>continue<SP>to<SP>fill<SP>in<SP>the<SP>rest<SP>of<SP>the<SP>form. 
  13. WAIT SECONDS=3
  14. 'Scroll page up to make sure that user sees and reads the instructions
  15. TAG POS=1 TYPE=FONT ATTR=TXT:The<SP>same<SP>approach<SP>is<SP>used<SP>in* 
  16.